import request from "@/utils/request.js"

// 获取每周工作数据
export const getWeeklyList = data => {
	return request({
		url: `/jxWeeklyReport/list`,
		data
	})
}
// 新增绩效考核周报表数据
export function addReport(data) {
	return request({
		url: `/jxWeeklyReport/add`,
		method: 'post',
		data
	})
}
// 绩效考核周报表dantiao数据
export function getReport(id) {
	return request({
		url: `/jxWeeklyReport/get/${id}`,
		method: 'GET',
		id
	})
}
export function delReport(id) {
	return request({
		url: `/jxWeeklyReport/del/${id}`,
		method: 'DELETE',
		id
	})
}